package com.sanfeng.smbms.service.impl;

import com.sanfeng.smbms.common.utils.PageUtils;
import com.sanfeng.smbms.dao.ProductDao;
import com.sanfeng.smbms.entity.ProductEntity;
import com.sanfeng.smbms.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("productService")
public class ProductServiceImpl implements ProductService {
    @Autowired
    private ProductDao productDao;

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        return null;
    }

    @Override
    public List<ProductEntity> queryPage() {
        return productDao.queryPage();
    }

    @Override
    public ProductEntity getById(Integer customerid) {
        return null;
    }

    @Override
    public void save(ProductEntity productEntity) {
        productDao.save(productEntity);
    }

    @Override
    public void updateById(ProductEntity customer) {

    }

    @Override
    public void removeByIds(List ids) {

    }

}